package com.ln.asset.core.mapper;

import com.ln.asset.core.pojo.AssetInfo;
import com.ln.asset.core.pojo.RecRecipients;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 资产领用记录表 Mapper 接口
 * </p>
 *
 * @author cuixiaoxin
 * @since 2022-04-28
 */
@Mapper
public interface RecRecipientsMapper extends BaseMapper<RecRecipients> {

    void saveRecZhong(@Param("rid") Integer rId, @Param("list") ArrayList<Integer> objects);

    List<AssetInfo> selectRecAndAsset(Integer rid);
}
